/**
 * @author: akolonitsky
 * @date: 11/24/11 12:32 PM
 */
package view.events {
import flash.events.Event;

import model.vo.UserVO;

public class UserEvent extends Event
{
    public static const SIGNIN:String = "userEventSignin";
    public static const SIGNUP:String = "userEventSignup";
    public static const FORGOT_PASSWORD:String = "userEventForgotPassword";

    public var user:UserVO = null;

    public function UserEvent(type:String, bubbles:Boolean=true,
        cancelable:Boolean=false, user:UserVO=null)
    {
        super(type,  bubbles,  cancelable);
        this.user = user;
    }


    override public function clone():Event
    {
        var result:UserEvent = new UserEvent(type, bubbles,  cancelable, user);
        return result as Event;
    }
}
}
